<?php

class TestController extends Zend_Controller_Action
{

    public function indexAction()
    {
        $this->_helper->layout->disableLayout(true);
        $this->_helper->viewRenderer->setNoRender(true);

        echo 'This is my web page.^^';

        echo 'Start delete cache file';
        $configCache = Fpt_Global::getConfigCache();
        $caching = Fpt_Caching_Page::getInstance();
        var_dump($caching);
        $caching->delete(array(
            'url' => 'http://quangtm.thethao.vnexpressdev.net/tin-tuc/bong-da-trong-nuoc/',
            'baseUrl' => $configCache['base_url'],
            'cacheDir' => $configCache['dir'],
        ));
        echo '<br />Done';

        exit;
    }

    public function testFuncAAction()
    {
        $this->_helper->layout->disableLayout(true);
        $this->_helper->viewRenderer->setNoRender(true);

        echo 'This is my test page.^^';

        exit;
    }

    public function testFuncAHtmlAction()
    {
        $this->_helper->layout->disableLayout(true);
        $this->_helper->viewRenderer->setNoRender(true);

        echo 'This is my test html.^^';

        exit;
    }

}